package com.hfi.restful.web.register;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author ChangLiang
 * @date 2019/8/16
 */
@Repository
public interface CustomUserRepository extends JpaRepository<CustomUser, Long> {

    CustomUser getByCustName(String custName);

    CustomUser getByMobile(String mobile);

    CustomUser getByCustUserId(Long userId);
}
